<template>
  <div>home</div>
</template>

<script>
export default {
  mounted() {
    if (!this.$store.state.app.authorization) {
      this.$router.push('/login')
    }
  },
  activated() {
    if (!this.$store.state.app.authorization) {
      this.$router.push('/login')
    }
  }
}
</script>

<style></style>
